package com.mallcloud.mall.mall.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.mallcloud.mall.mall.api.entity.MallAppSettingModel;

import java.util.List;

/**
 * 商城app界面设置
 */
public interface MallAppSettingService extends IService<MallAppSettingModel> {

    IPage<MallAppSettingModel> pageAppSetting(Page page, MallAppSettingModel dto);

    List<MallAppSettingModel> listAppSetting(MallAppSettingModel dto);

    MallAppSettingModel getAppSettingById(Long id);

    Boolean saveAppSetting(MallAppSettingModel appSetting);

    Boolean updateAppSetting(MallAppSettingModel appSetting);

    Boolean removeAppSettingById(Long id);

    Boolean removeAppSettingByIds(List<Long> ids);

}
